# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=paprefs
pkgver=1.1
pkgrel=2
pkgdesc="Configuration dialog for PulseAudio"
url="https://freedesktop.org/software/pulseaudio/paprefs/"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	meson
	pulseaudio-dev
	gtkmm3-dev
	libsigc++-dev
	glib-dev
	"
subpackages="$pkgname-lang"
source="http://freedesktop.org/software/pulseaudio/paprefs/paprefs-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libdir=/usr/lib \
		--buildtype=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="4203fcb485b40223a5c8672fdbbd2875a25d05d85366773015728f54a17020098ee9e9fd1c02180c01799e100b99389c970855fc1bd69921d32d8e43c749ce76  paprefs-1.1.tar.xz"
